<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<h1>登入</h1>
<hr>
<p th:text="${msg}" style="color: red"></p>
<hr>
<form action="/login">
<p>用户名： <input th:type="text" name="username"></p>
<p>密  码：<input th:type="text" name="password"></p>
<input th:type="submit">
</form>

</body>
</html>